package com.softeem.score.model.entity.educational;

import com.softeem.score.model.entity.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "权重表")
public class GradeComponentsCourse extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @Schema(description = "课程id")
    private Long courseId;

    @Schema(description = "成绩项id")
    private Long gradeComponentId;

    @Schema(description = "权重")
    private BigDecimal weightage;

}